package com.e3.basdoc.employeecls.client;

import com.e3.basdoc.employeecls.model.EmployeeClsModel;
import com.e3.template.tgf.TGFGridPanel;
import com.e3.template.tgf.TGFQueryDialog;
import com.e3.template.tgf.TGFRefDialog;
import com.e3.template.tgf.TGFTreePanelAsync;

public class EmployeeClsRefDialog extends TGFRefDialog<EmployeeClsModel> {

	@Override
	protected String getRefDialogTitle() {
		return EmployeeClsMessages.INSTANCE.title_employeecls_refdialog();
	}

	@Override
	protected TGFGridPanel<EmployeeClsModel> createGridPanel() {
		return new EmployeeClsGridPanel();
	}

	@Override
	protected TGFQueryDialog<EmployeeClsModel> createQueryDialog() {
		return new EmployeeClsQueryDialog();
	}

	@Override
	protected String getCurrentLocalName() {
		return EmployeeClsMessages.INSTANCE.local_name();
	}

	@Override
	protected TGFTreePanelAsync<EmployeeClsModel> createTreePanel() {
		return new EmployeeClsTreePanel();
	}

}
